Skip to main content

Configuring YUM for DAG

Don't know what DAG is yet, but this is good for adding more packages: (libnet is needed by nessus) Add this to bottom of /etc/yum.conf: [dag] name=Dag RPM Repository for Fedora Core baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag (This on the page http://dag.wieers.com/home-made/apt/FAQ.php#B) Then do the following to find the pkg. note that when i do yum install later down, it picks the latest one. :) [root@localhost etc]# yum search libnet Searching Packages: Setting up Repo: dag repomd.xml 100% |=========================| 951 B 00:00 Setting up Repo: base repomd.xml 100% |=========================| 1.1 kB 00:00 Setting up Repo: updates-released repomd.xml 100% |=========================| 951 B 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 566 kB 00:01 MD Read : ################################################## 1605/1605 dag : ################################################## 1605/1605 base : ################################################## 2622/2622 updates-re: ################################################## 463/463 libnet.i386 1.1.2.1-1.1.fc3.rf dag Matched from: libnet Libnet is a high-level API (toolkit) allowing the application programmer to construct and inject network packets. It provides a portable and simplified interface for low-level network packet shaping, handling and injection. Libnet hides much of the tedium of packet creation from the application programmer such as multiplexing, buffer management, arcane packet header information, byte-ordering, OS-dependent issues, and much more. Libnet features portable packet creation interfaces at the IP layer and link layer, as well as a host of supplementary and complementary functionality. Using libnet, quick and simple packet assembly applications can be whipped up with little effort. With a bit more time, more complex programs can be written (Traceroute and ping were easily rewritten using libnet and libpcap). http://www.packetfactory.net/projects/libnet/ echoart.i386 0.1-1.1.fc3.rf dag Matched from: Echoart responds to or drops ICMP echo request packets based on a pre-defined sequence, and could be used to return crude ASCII art in response to pings from a Cisco router. It works by intercepting ICMP echo request packets and consulting a pattern template to determine whether or not to respond to a specific echo request. It then uses libnet to inject responses back into the network as necessary. libnet.i386 1.0.2-2.1.fc3.rf dag Matched from: libnet Libnet is a high-level API (toolkit) allowing the application programmer to construct and inject network packets. It provides a portable and simplified interface for low-level network packet shaping, handling and injection. Libnet hides much of the tedium of packet creation from the application programmer such as multiplexing, buffer management, arcane packet header information, byte-ordering, OS-dependent issues, and much more. Libnet features portable packet creation interfaces at the IP layer and link layer, as well as a host of supplementary and complementary functionality. Using libnet, quick and simple packet assembly applications can be whipped up with little effort. With a bit more time, more complex programs can be written (Traceroute and ping were easily rewritten using libnet and libpcap). http://www.packetfactory.net/projects/libnet/ snort-bloat.i386 2.2.0-1.1.fc3.rf dag Matched from: Snort compiled with MySQL, PostgreSQL and ODBC support. Requires snort libnet rpm. [root@localhost etc]# [root@localhost etc]# yum install libnet Setting up Install Process Setting up Repo: dag repomd.xml 100% |=========================| 951 B 00:00 Setting up Repo: base repomd.xml 100% |=========================| 1.1 kB 00:00 Setting up Repo: updates-released repomd.xml 100% |=========================| 951 B 00:00 Reading repository metadata in from local files dag : ################################################## 1605/1605 base : ################################################## 2622/2622 updates-re: ################################################## 463/463 Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for libnet to pack into transaction set. libnet-1.1.2.1-1.1.fc3.rf 100% |=========================| 9.5 kB 00:00 ---> Package libnet.i386 0:1.1.2.1-1.1.fc3.rf set to be installed --> Running transaction check Dependencies Resolved Transaction Listing: Install: libnet.i386 0:1.1.2.1-1.1.fc3.rf Is this ok [y/N]: y Downloading Packages: libnet-1.1.2.1-1.1.fc3.rf 100% |=========================| 223 kB 00:00 warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 6b8d79e6 public key not available for //var/cache/yum/dag/packages/libnet-1.1.2.1-1.1.fc3.rf.i386.rpm [root@localhost etc]# [root@localhost etc]#

Comments